package cn.wolfcode.luowowo.article.query;

import cn.wolfcoe.luowowo.common.query.QueryObject;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class DestinationSearchQueryObject extends QueryObject {
    //设计要接受什么字段
    //dest_theme-id
    private Integer dtd1Id =-1;

    private Integer mouthid;
    private Integer vacationid;

    private Integer vacatinonDays;

    public DestinationCondition getTravelTime(){
        return DestinationCondition.dayMap.get(vacatinonDays);
    }
}
